home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C25 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  5.5 KB  |  153 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C25
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     SingletonPattern.exe \
  25.     UseLog2.exe \
  26.     SingletonPattern2.exe \
  27.     FunctionStaticSingleton.exe \
  28.     ShapeFactory1.exe \
  29.     ShapeFactory2.exe \
  30.     AbstractFactory.exe \
  31.     VirtualConstructor.exe \
  32.     InnerClassIdiom.exe \
  33.     ObservedFlower.exe \
  34.     PaperScissorsRock.exe \
  35.     BeeAndFlowers.exe \
  36.     Recycle1.exe \
  37.     Recycle2.exe \
  38.     Recycle3.exe \
  39.     Recycle4.exe \
  40.     DoubleDispatch.exe \
  41.     TrashVisitor.exe \
  42.     DynaTrash.exe 
  43.  
  44. test: all 
  45.     SingletonPattern.exe  
  46.     UseLog2.exe  
  47.     SingletonPattern2.exe  
  48.     FunctionStaticSingleton.exe  
  49.     ShapeFactory1.exe  
  50.     ShapeFactory2.exe  
  51.     AbstractFactory.exe  
  52.     VirtualConstructor.exe  
  53.     InnerClassIdiom.exe  
  54.     ObservedFlower.exe  
  55.     PaperScissorsRock.exe  
  56.     BeeAndFlowers.exe  
  57.     Recycle1.exe  
  58.     Recycle2.exe  
  59.     Recycle3.exe  
  60.     Recycle4.exe  
  61.     DoubleDispatch.exe  
  62.     TrashVisitor.exe  
  63.     DynaTrash.exe  
  64.  
  65. bugs: 
  66.     @echo No compiler bugs in this directory!
  67.  
  68. SingletonPattern.exe: SingletonPattern.obj 
  69.     $(CPP) $(OFLAG)SingletonPattern.exe SingletonPattern.obj 
  70.  
  71. UseLog2.exe: UseLog2.obj UseLog1.obj 
  72.     $(CPP) $(OFLAG)UseLog2.exe UseLog2.obj UseLog1.obj 
  73.  
  74. SingletonPattern2.exe: SingletonPattern2.obj 
  75.     $(CPP) $(OFLAG)SingletonPattern2.exe SingletonPattern2.obj 
  76.  
  77. FunctionStaticSingleton.exe: FunctionStaticSingleton.obj 
  78.     $(CPP) $(OFLAG)FunctionStaticSingleton.exe FunctionStaticSingleton.obj 
  79.  
  80. ShapeFactory1.exe: ShapeFactory1.obj 
  81.     $(CPP) $(OFLAG)ShapeFactory1.exe ShapeFactory1.obj 
  82.  
  83. ShapeFactory2.exe: ShapeFactory2.obj 
  84.     $(CPP) $(OFLAG)ShapeFactory2.exe ShapeFactory2.obj 
  85.  
  86. AbstractFactory.exe: AbstractFactory.obj 
  87.     $(CPP) $(OFLAG)AbstractFactory.exe AbstractFactory.obj 
  88.  
  89. VirtualConstructor.exe: VirtualConstructor.obj 
  90.     $(CPP) $(OFLAG)VirtualConstructor.exe VirtualConstructor.obj 
  91.  
  92. InnerClassIdiom.exe: InnerClassIdiom.obj 
  93.     $(CPP) $(OFLAG)InnerClassIdiom.exe InnerClassIdiom.obj 
  94.  
  95. ObservedFlower.exe: ObservedFlower.obj 
  96.     $(CPP) $(OFLAG)ObservedFlower.exe ObservedFlower.obj 
  97.  
  98. PaperScissorsRock.exe: PaperScissorsRock.obj 
  99.     $(CPP) $(OFLAG)PaperScissorsRock.exe PaperScissorsRock.obj 
  100.  
  101. BeeAndFlowers.exe: BeeAndFlowers.obj 
  102.     $(CPP) $(OFLAG)BeeAndFlowers.exe BeeAndFlowers.obj 
  103.  
  104. Recycle1.exe: Recycle1.obj 
  105.     $(CPP) $(OFLAG)Recycle1.exe Recycle1.obj 
  106.  
  107. Recycle2.exe: Recycle2.obj 
  108.     $(CPP) $(OFLAG)Recycle2.exe Recycle2.obj 
  109.  
  110. Recycle3.exe: Recycle3.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  111.     $(CPP) $(OFLAG)Recycle3.exe Recycle3.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  112.  
  113. Recycle4.exe: Recycle4.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  114.     $(CPP) $(OFLAG)Recycle4.exe Recycle4.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  115.  
  116. DoubleDispatch.exe: DoubleDispatch.obj DDTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  117.     $(CPP) $(OFLAG)DoubleDispatch.exe DoubleDispatch.obj DDTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  118.  
  119. TrashVisitor.exe: TrashVisitor.obj VisitorTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  120.     $(CPP) $(OFLAG)TrashVisitor.exe TrashVisitor.obj VisitorTrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  121.  
  122. DynaTrash.exe: DynaTrash.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  123.     $(CPP) $(OFLAG)DynaTrash.exe DynaTrash.obj TrashPrototypeInit.obj fillBin.obj Trash.obj TrashStatics.obj 
  124.  
  125.  
  126. SingletonPattern.obj: SingletonPattern.cpp 
  127. UseLog1.obj: UseLog1.cpp LogFile.h 
  128. UseLog2.obj: UseLog2.cpp LogFile.h 
  129. SingletonPattern2.obj: SingletonPattern2.cpp 
  130. FunctionStaticSingleton.obj: FunctionStaticSingleton.cpp 
  131. ShapeFactory1.obj: ShapeFactory1.cpp ..\purge.h 
  132. ShapeFactory2.obj: ShapeFactory2.cpp ..\purge.h 
  133. AbstractFactory.obj: AbstractFactory.cpp 
  134. VirtualConstructor.obj: VirtualConstructor.cpp 
  135. InnerClassIdiom.obj: InnerClassIdiom.cpp 
  136. ObservedFlower.obj: ObservedFlower.cpp Observable.h 
  137. PaperScissorsRock.obj: PaperScissorsRock.cpp ..\purge.h 
  138. BeeAndFlowers.obj: BeeAndFlowers.cpp ..\purge.h 
  139. Recycle1.obj: Recycle1.cpp sumValue.h ..\purge.h 
  140. Recycle2.obj: Recycle2.cpp sumValue.h ..\purge.h 
  141. Trash.obj: Trash.cpp Trash.h 
  142. TrashStatics.obj: TrashStatics.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  143. TrashPrototypeInit.obj: TrashPrototypeInit.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h 
  144. fillBin.obj: fillBin.cpp fillBin.h Fillable.h ..\C17\trim.h ..\require.h 
  145. Recycle3.obj: Recycle3.cpp Trash.h Aluminum.h Paper.h Glass.h fillBin.h sumValue.h ..\purge.h 
  146. Recycle4.obj: Recycle4.cpp Trash.h Aluminum.h Paper.h Glass.h Cardboard.h fillBin.h sumValue.h ..\purge.h 
  147. DDTrashPrototypeInit.obj: DDTrashPrototypeInit.cpp TypedBin.h Aluminum.h Paper.h Glass.h Cardboard.h 
  148. DoubleDispatch.obj: DoubleDispatch.cpp TypedBin.h fillBin.h sumValue.h ..\purge.h 
  149. VisitorTrashPrototypeInit.obj: VisitorTrashPrototypeInit.cpp Visitor.h 
  150. TrashVisitor.obj: TrashVisitor.cpp Visitor.h fillBin.h ..\purge.h 
  151. DynaTrash.obj: DynaTrash.cpp Trash.h fillBin.h sumValue.h ..\purge.h 
  152.  
  153.